<!DOCTYPE html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta name="description" content="Math取整相关123456789101112131415161718// sign 返回正数或是负数Math.sign(9); // 1Math.sign(-8); // -1Math.sign(0); //0Math.sign(-0); //-0Math(&amp;apos;ee&amp;apos;); //NaN// trunc 取整，只取小数点前的数字不管正负，不管四舍五入Math.trunc(9.9);">
<meta property="og:type" content="article">
<meta property="og:title" content="JavaScript之Math和Number">
<meta property="og:url" content="http://yoursite.com/2020/06/05/JavaScript之Math和Number/index.html">
<meta property="og:site_name" content="春风自是人间客">
<meta property="og:description" content="Math取整相关123456789101112131415161718// sign 返回正数或是负数Math.sign(9); // 1Math.sign(-8); // -1Math.sign(0); //0Math.sign(-0); //-0Math(&amp;apos;ee&amp;apos;); //NaN// trunc 取整，只取小数点前的数字不管正负，不管四舍五入Math.trunc(9.9);">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2020-12-07T11:25:05.229Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="JavaScript之Math和Number">
<meta name="twitter:description" content="Math取整相关123456789101112131415161718// sign 返回正数或是负数Math.sign(9); // 1Math.sign(-8); // -1Math.sign(0); //0Math.sign(-0); //-0Math(&amp;apos;ee&amp;apos;); //NaN// trunc 取整，只取小数点前的数字不管正负，不管四舍五入Math.trunc(9.9);">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: "",
      labels: ""
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2020/06/05/JavaScript之Math和Number/">





  <title>JavaScript之Math和Number | 春风自是人间客</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">春风自是人间客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <h1 class="site-subtitle" itemprop="description">是非成败转头空，青山依旧在，几度夕阳红。</h1>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-program">
          <a href="/categories/program" rel="section">
            
            程序
          </a>
        </li>
      
        
        <li class="menu-item menu-item-reading">
          <a href="/categories/reading" rel="section">
            
            阅读
          </a>
        </li>
      
        
        <li class="menu-item menu-item-idea">
          <a href="/categories/idea" rel="section">
            
            想法
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
            关于我
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/06/05/JavaScript之Math和Number/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="彭丹丹">
      <meta itemprop="description" content>
      <meta itemprop="image" content="https://upload.jianshu.io/users/upload_avatars/830956/debe5156eed7?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="春风自是人间客">
    </span>

    
      <header class="post-header">

        
        
          <h2 class="post-title" itemprop="name headline">JavaScript之Math和Number</h2>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-06-05T11:19:32+08:00">
                2020-06-05
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/program/" itemprop="url" rel="index">
                    <span itemprop="name">program</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  445
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2
                </span>
              
            </div>
          

          
          
        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="Math"><a href="#Math" class="headerlink" title="Math"></a>Math</h1><h2 id="取整相关"><a href="#取整相关" class="headerlink" title="取整相关"></a>取整相关</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line">// sign 返回正数或是负数</span><br><span class="line">Math.sign(9); // 1</span><br><span class="line">Math.sign(-8); // -1</span><br><span class="line">Math.sign(0); //0</span><br><span class="line">Math.sign(-0); //-0</span><br><span class="line">Math(&apos;ee&apos;); //NaN</span><br><span class="line"></span><br><span class="line">// trunc 取整，只取小数点前的数字不管正负，不管四舍五入</span><br><span class="line">Math.trunc(9.9); // 9</span><br><span class="line">Math.trunc(-8.7); // -8</span><br><span class="line"></span><br><span class="line">Math.round(4.5); //5 四舍五入(无小数)</span><br><span class="line">Math.ceil(4.1); //5 只要小数点后面大于0，整数值都+1（按最大的取）</span><br><span class="line"></span><br><span class="line">Math.floor(4.9); // 4</span><br><span class="line">Math.floor(-4.1); // -5 按最小的取</span><br><span class="line"></span><br><span class="line">12.899.toFixed(2); // 12.9 四舍五入（有小数）</span><br></pre></td></tr></table></figure>
<h2 id="返回数组中最大值"><a href="#返回数组中最大值" class="headerlink" title="返回数组中最大值"></a>返回数组中最大值</h2><p><code>Math.max(...[1,2,3])</code> // 3</p>
<h2 id="返回数组中最小值"><a href="#返回数组中最小值" class="headerlink" title="返回数组中最小值"></a>返回数组中最小值</h2><p><code>Math.min(...[1,2,3])</code> // 1</p>
<h2 id="随机数"><a href="#随机数" class="headerlink" title="随机数"></a>随机数</h2><p>默认返回0~1</p>
<p><code>Math.random()</code> </p>
<p>返回指定范围（5~24）：</p>
<p><code>Math.randow()*(24-5)+5</code></p>
<h2 id="随机整数"><a href="#随机整数" class="headerlink" title="随机整数"></a>随机整数</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Math.floor(Math.random() * number)</span><br></pre></td></tr></table></figure>
<h1 id="number"><a href="#number" class="headerlink" title="number"></a>number</h1><h2 id="isFinite-是否为数字型"><a href="#isFinite-是否为数字型" class="headerlink" title="isFinite 是否为数字型"></a>isFinite 是否为数字型</h2><p>之前判断一个值是否为数字类型都是用<code>typeof</code>，此处的 <code>isFinite</code>也有同样的效果</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">typeof 1.2 ; // &apos;number&apos;</span><br><span class="line">Number.isFinite(1.2) ; // true</span><br></pre></td></tr></table></figure>
<h2 id="isInteger-是否为整数"><a href="#isInteger-是否为整数" class="headerlink" title="isInteger 是否为整数"></a>isInteger 是否为整数</h2><p>判断是否为整数</p>
<p><code>Number.isInteger(13)</code></p>
<h2 id="isNaN-是否为NaN"><a href="#isNaN-是否为NaN" class="headerlink" title="isNaN 是否为NaN"></a>isNaN 是否为NaN</h2><p><code>Number.isNaN()</code></p>
<h2 id="安全范围"><a href="#安全范围" class="headerlink" title="安全范围"></a>安全范围</h2><p>整数的操作有一个安全范围，即2的53次方。</p>
<p><code>Math.pow(2, 53) - 1 = 9007199254740991</code></p>
<p><code>Number.MAX_SAFE_INTEGER</code>：最大安全范围</p>
<p><code>Number.MIN_SAFE_INTEGER</code>：最小安全范围</p>
<p><code>Number.isSafeInteger(12)</code>：是否在安全范围内</p>
<h2 id="数值转换"><a href="#数值转换" class="headerlink" title="数值转换"></a>数值转换</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">Number();</span><br><span class="line">parseInt();</span><br><span class="line">parseFloat();</span><br><span class="line"></span><br><span class="line">Number(&apos;3e&apos;); // NaN</span><br><span class="line">parseInt(&apos;3e&apos;); // 3</span><br></pre></td></tr></table></figure>
<h1 id="次方"><a href="#次方" class="headerlink" title="次方"></a>次方</h1><p><code>Math.pow(2, 3)</code>代表 2的3 次方</p>
<h1 id="取随机字符串"><a href="#取随机字符串" class="headerlink" title="取随机字符串"></a>取随机字符串</h1><p>先转为16进制，再去掉前两位小数点</p>
<p><code>Math.random().toString(16).subString(2)</code></p>
<h1 id="保留小数点后两位"><a href="#保留小数点后两位" class="headerlink" title="保留小数点后两位"></a>保留小数点后两位</h1><h2 id="四舍五入"><a href="#四舍五入" class="headerlink" title="四舍五入"></a>四舍五入</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">parseFloat((a).toFixed(2));//toFixed只能针对数字类型才能使用</span><br></pre></td></tr></table></figure>
<h2 id="非四舍五入"><a href="#非四舍五入" class="headerlink" title="非四舍五入"></a>非四舍五入</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">var b = parseFloat(price).toFixed(3);</span><br><span class="line">this.all_price = b.substring(0,b.toString().length - 1);</span><br></pre></td></tr></table></figure>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2020/06/05/JavaScript之时间方法/" rel="next" title="JavaScript之时间方法">
                <i class="fa fa-chevron-left"></i> JavaScript之时间方法
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2020/06/05/前端知识个人总结链接/" rel="prev" title="前端知识个人总结链接">
                前端知识个人总结链接 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
      <div id="lv-container" data-id="city" data-uid="MTAyMC8zODk2OC8xNTQ5Ng=="></div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="https://upload.jianshu.io/users/upload_avatars/830956/debe5156eed7?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240" alt="彭丹丹">
            
              <p class="site-author-name" itemprop="name">彭丹丹</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives">
              
                  <span class="site-state-item-count">183</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">3</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#Math"><span class="nav-number">1.</span> <span class="nav-text">Math</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#取整相关"><span class="nav-number">1.1.</span> <span class="nav-text">取整相关</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#返回数组中最大值"><span class="nav-number">1.2.</span> <span class="nav-text">返回数组中最大值</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#返回数组中最小值"><span class="nav-number">1.3.</span> <span class="nav-text">返回数组中最小值</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#随机数"><span class="nav-number">1.4.</span> <span class="nav-text">随机数</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#随机整数"><span class="nav-number">1.5.</span> <span class="nav-text">随机整数</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#number"><span class="nav-number">2.</span> <span class="nav-text">number</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#isFinite-是否为数字型"><span class="nav-number">2.1.</span> <span class="nav-text">isFinite 是否为数字型</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#isInteger-是否为整数"><span class="nav-number">2.2.</span> <span class="nav-text">isInteger 是否为整数</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#isNaN-是否为NaN"><span class="nav-number">2.3.</span> <span class="nav-text">isNaN 是否为NaN</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安全范围"><span class="nav-number">2.4.</span> <span class="nav-text">安全范围</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#数值转换"><span class="nav-number">2.5.</span> <span class="nav-text">数值转换</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#次方"><span class="nav-number">3.</span> <span class="nav-text">次方</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#取随机字符串"><span class="nav-number">4.</span> <span class="nav-text">取随机字符串</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#保留小数点后两位"><span class="nav-number">5.</span> <span class="nav-text">保留小数点后两位</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#四舍五入"><span class="nav-number">5.1.</span> <span class="nav-text">四舍五入</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#非四舍五入"><span class="nav-number">5.2.</span> <span class="nav-text">非四舍五入</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">彭丹丹</span>

  
</div>


	<div class="powered-by">
	<i class="fa fa-user-md"></i><span id="busuanzi_container_site_uv">
	  本站访客数:<span id="busuanzi_value_site_uv"></span>
	</span>
	</div>
  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Pisces</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  












  





  

  

  

  
  

  

  

  

  undefined
  
  <!-- 页面爆炸效果 -->
  
<script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/tororo.model.json"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":true}});</script></body>
</html>
